package com.lbb.springboot.entity.enums;

import com.baomidou.mybatisplus.core.enums.IEnum;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 测试枚举
 */
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum OrderStatusEnum implements IEnum<Integer> {
    SUBMISSION (0, "已提交(订单支付完成)"),
    DISPOSE (1, "处理中"),
    FINISH(2, "已完成"),
    BACK(3, "已退回"),
    DISPATCH(6, "已派单"),
    NOTPAY (5, "订单未支付"),
    REFUND(4, "已退款  "),
    GPS_LOWER(200, "下发指令"),
    SIGNUP(82, " 已收件报名中"),
    TRAIN(83, " 报名成功待培训"),
    EXEM(84, " 待考试"),
    TRYAG_EINEXAM(85, " 待补考"),
    PENDING(86, " 待发证"),
    ALREADY_lbb(87, " 已发证"),
    EXEM_FINISH(88, " 已考试"),
    DOOR(60, " 上门"),
    CUSTOMER_SERVICE(61, " 客服售后中"),
    CHECK_PENDING(62, " 待审核");

//    82 已收件报名中
//    83 报名成功待培训
//    84 待考试
//    85 待补考
//    86 待发证
//    87 已发证

    private Integer value;
    private String desc;

    OrderStatusEnum(final Integer value, final String desc) {
        this.value = value;
        this.desc = desc;
    }

    @Override
    public Integer getValue() {
        return this.value;
    }

    public String getDesc(){
        return this.desc;
    }
}
